package com.todod.entity;

import java.util.List;

public class Page<T> {

	private long total;

	private List<T> records;

	public Page() {
		super();
	}

	public Page(long total, List<T> records) {
		super();
		this.total = total;
		this.records = records;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getRecords() {
		return records;
	}

	public void setRecords(List<T> records) {
		this.records = records;
	}

}
